projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b6d26
)
ARM: tegra: allow reading recovery mode boot type
author
Marcel Ziswiler
<
[email protected]
>
Wed, 5 Aug 2015 22:46:59 +0000
(
00:46
+0200)
committer
Tom Warren
<
[email protected]
>
Thu, 13 Aug 2015 20:06:01 +0000
(13:06 -0700)
Add defines to allow reading recovery mode (RCM) boot type from the boot
information table (BIT) written by the boot ROM (BR) to the IRAM.
Signed-off-by: Marcel Ziswiler <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Acked-by: Stephen Warren <
[email protected]
>
Signed-off-by: Tom Warren <
[email protected]
>
arch/arm/include/asm/arch-tegra/tegra.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-tegra/tegra.h
b/arch/arm/include/asm/arch-tegra/tegra.h
index b6c7cabc9a3dbaeb6a3a976c6f2f86fa02fe1916..3add1b3c09bbdf63b8508e584a467c44340bc2a3 100644
(file)
--- a/
arch/arm/include/asm/arch-tegra/tegra.h
+++ b/
arch/arm/include/asm/arch-tegra/tegra.h
@@
-56,6
+56,8
@@
struct timerus {
/* Address at which WB code runs, it must not overlap Bootrom's IRAM usage */
#define NV_WB_RUN_ADDRESS 0x40020000
+#define NVBOOTTYPE_RECOVERY 2 /* BR entered RCM */
+#define NVBOOTINFOTABLE_BOOTTYPE 0xC /* Boot type in BIT in IRAM */
#define NVBOOTINFOTABLE_BCTSIZE 0x38 /* BCT size in BIT in IRAM */
#define NVBOOTINFOTABLE_BCTPTR 0x3C /* BCT pointer in BIT in IRAM */